package io.renren.modules.efinance.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 * 
 * @author lhf
 * @email i@lhf.com
 * @date 2022-06-24 17:18:43
 */
@Data
@TableName("bankcard")
public class BankcardEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.ASSIGN_ID) // 默认雪花算法
	private String bankcardId;

	/**
	 * 银行卡号
	 */
	@NotBlank(message = "银行卡号不能为空")
	private String bankcardIdcard;

	/**
	 * 
	 */
	private String bankcardUsername;
	/**
	 * 
	 */
	private String bankcardPhone;
	/**
	 * 
	 */
	private Date bankcardOpentime;
	/**
	 * 
	 */
	private BigDecimal bankcardBalance;
	/**
	 * 
	 */
	private String bankcardPassword;
	/**
	 * 
	 */
	private String bankcardBankname;

}
